package cn.kgc.mybatis.dao.impl;

import cn.kgc.mybatis.dao.UserDao;
import cn.kgc.mybatis.entity.User;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/4/22
 * @description
 */
public class UserDaoImpl implements UserDao {


    @Override
    public Integer addUser(User user) {
        return null;
    }

    @Override
    public Integer deleteUser(Integer id) {

        //sqlSessionFactory

        // sqlSession

        // api    a.deleteUser

        return null;
    }

    @Override
    public Integer updateUser(User user) {
        return null;
    }

    @Override
    public List<User> selectUsers() {
        return null;
    }

    @Override
    public User selectOne(Integer id) {
        return null;
    }
}
